<?php

/*
 * 权限规则节点脚本
 * @version 1.0 2016-6-13 SoChishun Added.
 */

return array(
    "insert into think_auth_rule (`id`, `name`, `title`, `pid`, `addon`, `code`, `sort`, `url`, `type`, `level`,`status`) values (1,'','系统','0','','M1_XT',1,'','M',0,1);",
"insert into think_auth_rule (`id`, `name`, `title`, `pid`, `addon`, `code`, `sort`, `url`, `type`, `level`,`status`) values (2,'','系统设置','1','','XT_M2_XTSZ',2,'','M',0,1);",
"insert into think_auth_rule (`id`, `name`, `title`, `pid`, `addon`, `code`, `sort`, `url`, `type`, `level`,`status`) values (3,'SiteConfig.index','网站设置','2','','XT_M3_WZSZ',3,'SiteConfig/site_config','M',2,1);",
"insert into think_auth_rule (`id`, `name`, `title`, `pid`, `addon`, `code`, `sort`, `url`, `type`, `level`,`status`) values (4,'VarConfig.index','变量配置','2','','XT_M3_BLPZ',4,'VarConfig/var_config','M',2,1);",
"insert into think_auth_rule (`id`, `name`, `title`, `pid`, `addon`, `code`, `sort`, `url`, `type`, `level`,`status`) values (5,'','站务管理','1','','XT_M2_ZQGL',5,'','M',0,1);",
"insert into think_auth_rule (`id`, `name`, `title`, `pid`, `addon`, `code`, `sort`, `url`, `type`, `level`,`status`) values (6,'PM.pm_list','站内信管理','5','','XT_M3_ZNXGL',6,'PM/pm_list','M',2,1);",
"insert into think_auth_rule (`id`, `name`, `title`, `pid`, `addon`, `code`, `sort`, `url`, `type`, `level`,`status`) values (7,'Feedback.index','访客留言','5','','XT_M3_FKLY',7,'Feedback/var_config','M',2,1);",
"insert into think_auth_rule (`id`, `name`, `title`, `pid`, `addon`, `code`, `sort`, `url`, `type`, `level`,`status`) values (8,'','网站安全','1','','XT_M2_WZAQ',8,'','M',0,1);",
"insert into think_auth_rule (`id`, `name`, `title`, `pid`, `addon`, `code`, `sort`, `url`, `type`, `level`,`status`) values (9,'SiteBackup.index','数据备份','8','','XT_M3_SJBF',9,'SiteBackup/index','M',2,1);",
"insert into think_auth_rule (`id`, `name`, `title`, `pid`, `addon`, `code`, `sort`, `url`, `type`, `level`,`status`) values (10,'SiteReduction.index','还原数据','8','','XT_M3_HYSJ',10,'SiteReduction/index','M',2,1);",
"insert into think_auth_rule (`id`, `name`, `title`, `pid`, `addon`, `code`, `sort`, `url`, `type`, `level`,`status`) values (11,'LogAnalysis.index','日志分析','8','','XT_M3_RZFX',11,'LogAnalysis/index','M',2,1);",
"insert into think_auth_rule (`id`, `name`, `title`, `pid`, `addon`, `code`, `sort`, `url`, `type`, `level`,`status`) values (12,'','用户','0','','M1_YH',12,'','M',0,1);",
"insert into think_auth_rule (`id`, `name`, `title`, `pid`, `addon`, `code`, `sort`, `url`, `type`, `level`,`status`) values (13,'','用户管理','12','','YH_M2_YHGL',13,'','M',0,1);",
"insert into think_auth_rule (`id`, `name`, `title`, `pid`, `addon`, `code`, `sort`, `url`, `type`, `level`,`status`) values (14,'UserAdmin.user_list','管理员管理','13','','YH_M3_GLYGL',14,'UserAdmin/user_list','M',2,1);",
"insert into think_auth_rule (`id`, `name`, `title`, `pid`, `addon`, `code`, `sort`, `url`, `type`, `level`,`status`) values (15,'Department.department_list','部门管理','13','','YH_M3_BMGL',15,'Department/department_list','M',2,1);",
"insert into think_auth_rule (`id`, `name`, `title`, `pid`, `addon`, `code`, `sort`, `url`, `type`, `level`,`status`) values (16,'Role.index','角色管理','13','','YH_M3_JSGL',16,'Role/role_list','M',2,1);",
"insert into think_auth_rule (`id`, `name`, `title`, `pid`, `addon`, `code`, `sort`, `url`, `type`, `level`,`status`) values (17,'','商品','0','','M1_SP',17,'','M',0,1);",
"insert into think_auth_rule (`id`, `name`, `title`, `pid`, `addon`, `code`, `sort`, `url`, `type`, `level`,`status`) values (18,'','商品管理','17','','SP_M2_SPGL',18,'','M',0,1);",
"insert into think_auth_rule (`id`, `name`, `title`, `pid`, `addon`, `code`, `sort`, `url`, `type`, `level`,`status`) values (19,'ProductGoods','商品管理','18','','SP_M3_SPGL',19,'ProductGoods/product_goods_list','M',2,1);",
"insert into think_auth_rule (`id`, `name`, `title`, `pid`, `addon`, `code`, `sort`, `url`, `type`, `level`,`status`) values (20,'ProductGoods.add','新增商品','19','','SP_SPGL_XZSP',20,'','O',3,1);",
"insert into think_auth_rule (`id`, `name`, `title`, `pid`, `addon`, `code`, `sort`, `url`, `type`, `level`,`status`) values (21,'ProductGoods.edit','编辑商品','19','','SP_SPGL_BJSP',21,'','O',3,1);",
"insert into think_auth_rule (`id`, `name`, `title`, `pid`, `addon`, `code`, `sort`, `url`, `type`, `level`,`status`) values (22,'ProductGoods.delete','删除商品','19','','SP_SPGL_SCSP',22,'','O',3,1);",
"insert into think_auth_rule (`id`, `name`, `title`, `pid`, `addon`, `code`, `sort`, `url`, `type`, `level`,`status`) values (23,'','商品类别管理','17','','SP_M2_SPLBGL',23,'','M',0,1);",
"insert into think_auth_rule (`id`, `name`, `title`, `pid`, `addon`, `code`, `sort`, `url`, `type`, `level`,`status`) values (24,'ProductCategory','商品类别管理','23','','SP_M3_SPLBGL',24,'ProductCategory/category_list','M',2,1);",
"insert into think_auth_rule (`id`, `name`, `title`, `pid`, `addon`, `code`, `sort`, `url`, `type`, `level`,`status`) values (25,'ProductCategory.add','新增类别','24','','SP_SPLBGL_XZLB',25,'','O',3,1);",
"insert into think_auth_rule (`id`, `name`, `title`, `pid`, `addon`, `code`, `sort`, `url`, `type`, `level`,`status`) values (26,'ProductCategory.edit','编辑类别','24','','SP_SPLBGL_BJLB',26,'','O',3,1);",
"insert into think_auth_rule (`id`, `name`, `title`, `pid`, `addon`, `code`, `sort`, `url`, `type`, `level`,`status`) values (27,'ProductCategory.delete','删除类别','24','','SP_SPLBGL_SCLB',27,'','O',3,1);",
"insert into think_auth_rule (`id`, `name`, `title`, `pid`, `addon`, `code`, `sort`, `url`, `type`, `level`,`status`) values (28,'','内容','0','','M1_NR',28,'','M',0,1);",
"insert into think_auth_rule (`id`, `name`, `title`, `pid`, `addon`, `code`, `sort`, `url`, `type`, `level`,`status`) values (29,'','内容管理','28','','NR_M2_NRGL',29,'','M',0,1);",
"insert into think_auth_rule (`id`, `name`, `title`, `pid`, `addon`, `code`, `sort`, `url`, `type`, `level`,`status`) values (30,'Notices.document_list','公告管理','29','','NR_M3_ZDLM',30,'Notices/document_list','M',2,1);",
"insert into think_auth_rule (`id`, `name`, `title`, `pid`, `addon`, `code`, `sort`, `url`, `type`, `level`,`status`) values (31,'Knowledge.document_list','知识库','29','','NR_M3_ZDLM',31,'Knowledge/document_list','M',2,1);",
);
